<?php
namespace App\HttpController\Install;

use App\HttpController\Base;

/**
 * 安装程序类
 * Class Index
 * @package App\HttpController\Install
 */
class Index extends Base
{

      public function setp1(){
              if(is_file(MODULE_PATH . 'Data/install.lock')){
                  $this->error('已经成功安装了OneThink，请不要重复安装!', U('Home/Index/index'));
              }
             return $this->fetch();
      }

}
